This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git commit [some files] | |
Or if you are sure that you have a clean staging area you can | |
git add [some files] # add [some files] to staging area | |
git add [some more files] # add [some more files] to staging area | |
git commit # commit [some files] and [some more files] | |
git commit file1 file2 file5 -m "commit message" | |
If you want to make that commit available on both branches you do | |
git stash # remove all changes from HEAD and save them somewhere else |