git will not push to remote branch "Everything up-to-date" -
i looked @ current solutions on here problem having answers offered doesn't seem solve problem of getting push work.
i have local branch called "dev" suppose track remote branch "v1.0-7.22-dev".
i cloned repo, , checked out remote branch "v1.0-7.22-dev" local "dev".
i made commit local "dev" , when run git status following:
$ git status # on branch dev # branch ahead of 'origin/v1.0-7.22-dev' 3 commits. # nothing commit (working directory clean)
when commit:
$ git push password: up-to-date
my config file (the server name , repo name has been redacted)
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = ssh://[server-url]/[remote-repo-directory] [branch "master"] remote = origin merge = refs/heads/master [branch "dev"] remote = origin merge = refs/heads/v1.0-7.22-dev
try:
git push origin dev:v1.0-7.22-dev
Comments
Post a Comment