Git Problem Face

<!-- git error: failed to push some refs to --> 

git pull --rebase origin master
git push origin master

<!-- ============================================= -->

<!-- git error: -->
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

<!-- solve: -->
Try deleting index.lock file in your .git directory.

rm -f .git/index.lock


<!--Merge conflicts resolving:-->
git push -f origin master.


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s