tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Help with git/wip
> $ git commit
> On branch master
> Your branch is ahead of 'origin/master' by 2 commits.
> (use "git push" to publish your local commits)
> Changes not staged for commit:
> modified: Makefile
>
> no changes added to commit
> git push
> Counting objects: 4, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (4/4), done.
> Writing objects: 100% (4/4), 549 bytes | 0 bytes/s, done.
> Total 4 (delta 2), reused 0 (delta 0)
> remote: Merge commit detected: 76a391009afefb5022670512c11b8d91cb9a09e1
> remote: In general, please use 'git pull -r'
> remote: and now make the history straight using 'git rebase -i'
> To wip.pkgsrc.org:/pkgsrc-wip.git
> ! [remote rejected] master -> master (pre-receive hook declined)
> error: failed to push some refs to 'darcy%wip.pkgsrc.org@localhost:/pkgsrc-wip.git'
> $ git pull -r
> error: cannot pull with rebase: You have unstaged changes.
> error: please commit or stash them.
>
> Can someone please give me the magic incantation.
>
> For the record what I changed was removing pkgin (git rm -r pkgin) and edited the Makefile.
git add Makefile
git status
git commit -m "Your commit message"
git push
:)
Adam
Home |
Main Index |
Thread Index |
Old Index