Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add git-wip and git-unwip #669

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add git-wip and git-unwip #669

wants to merge 2 commits into from

Conversation

acant
Copy link

@acant acant commented Jul 26, 2017

  • git-wip will commit all the changes in the working directory into a WIP commit
  • git-unwip will undo a WIP commit using git-undo

I have been using these commands for a while, to save interim changes when switching between feature branches. This ideas in other places, but it would be nice to included it here too. I have added links to files in https://github.com/ddollar/git-utils which are similar, but the scripts are not exactly the same.

Any feedback is welcome. I went through the contributing guidelines, but if I have missed anything I am happy to updated it.

Thanks in advance.

@acant acant force-pushed the feature/wip_unwip branch from aa5affa to 3a22a42 Compare July 30, 2017 02:28
@eMPee584
Copy link

Hm, kinda sounds like git stash to me.. Maybe you can check whether this is still useful today?

@acant
Copy link
Author

acant commented Jan 10, 2025

@eMPee584 it is very similar to git stash, I agree.
I do still use this script today. When I am working on multiple independent branches I find the wip commit easier to manage that trying to keep a stash of independent commits.
I also like being able to push the wip commits to a remote repo both for safe keeping or for sharing between laptop/desktop systems.

@acant acant force-pushed the feature/wip_unwip branch from 3a22a42 to 8efdcf4 Compare January 11, 2025 00:45
@acant acant force-pushed the feature/wip_unwip branch from 8efdcf4 to 4501c4a Compare January 11, 2025 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants