if you face this error:
fatal: Unable to create '/path/to/repo/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.build
this can solve the problem
rm .git/index.lock
----------------
git status
git diff
git reset HEAD <>
git checkout -- <>
git add <>
git commit
------------------
git tag -a "asst0-start" -m "ASST0 start"
vim ./gitignore
.depend
/defs.mk
kern/compile/
user/testbin/randcall/calls.c-----------------------
When you clone a repository, Git automatically sets up the
remote repository you cloned from as linked to your clone.Before you perform any merge it is best to have any changes in your
git remote -v
working directory committed.
没有评论:
发表评论