Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Command: Commit #42

Open
haydn opened this issue Jun 25, 2013 · 0 comments
Open

Command: Commit #42

haydn opened this issue Jun 25, 2013 · 0 comments
Milestone

Comments

@haydn
Copy link
Contributor

haydn commented Jun 25, 2013

This command would be useful when you're working on a collection branch (such as staging) and want to commit what you've done to a change branch:

change start foo
# git checkout -b change/foo
git checkout staging
touch bar
git add .
change commit foo
# git stash
# git checkout change/foo
# git stash pop
# git add .
# git commit -va
# git checkout staging
# git merge change/foo
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant