tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Help with git/wip
On Wed, Jul 26, 2017 at 10:33:28AM +0000, coypu%sdf.org@localhost wrote:
> You need to have your tree without any unstaged changes, all the changes
> in commits, and in sync with the upstream tree, in order to push.
>
> if you don't want to commit some changes that exist, you can use 'git
> stash' to temporarily get rid of any unstaged changes.
>
> If what you want is to push all the commits you have tracked (visible in
> git log), then you:
> git stash # gets rid of any local untracked changes
> git pull -r # sync to upstream tree
> git push origin master # push your local commits
git stash pop # restores your local uncommitted changes.
Thomas
Home |
Main Index |
Thread Index |
Old Index