android - changed closed error while doing git push -
i trying push changes git project , had amend changes local commits, rebased onto merged change 400918 (otherwise wouldn’t allow me set edit option, not sure if there other way) ,made changes , when try push running following error,i tried rebase on changes,its still not working,any inputs here?
user{90}> git push ssh://company.com:29418/project head:refs/for/branch counting objects: 43020, done. delta compression using 32 threads. compressing objects: 100% (4374/4374), done. writing objects: 100% (5359/5359), 6.22 mib | 8.17 mib/s, done. total 5359 (delta 1534), reused 2435 (delta 863) remote: resolving deltas: 100% (1534/1534) remote: processing changes: refs: 1, done ssh://company.com:29418/project ! [remote rejected] head -> refs/for/branch (change 400918 closed)
use
$git stash
to reset code previous head.
please take backup of code somewhere else because undo changes since last commit.
after running git stash; repo pointing previous commit, can merge latest changes in push changes on server.
Comments
Post a Comment