Git: Difference between revisions
From DWIKI
m (→FAQ) |
m (→FAQ) |
||
Line 24: | Line 24: | ||
git commit -i | git commit -i | ||
==error: Pulling is not possible because you have unmerged files== | |||
community qXcF52,:Kg | |||
==list untracked files== | ==list untracked files== |
Revision as of 10:56, 30 July 2020
Links
Documentation
- Getting Started
- Dealing with binary files
- http://gitref.org/basic/
- http://git-scm.com/book/en
- https://www.atlassian.com/git/tutorials
- [http://thelucid.com/2008/12/02/git-setting-up-a-remote-repository-and-doing-an-initial-
- Recording Changes to the Repository
- Shared Git repository over ssh for multiple users
FAQ
error: src refspec master does not match any.
ye well, screw you. you did something wrong!
error: Merging is not possible because you have unmerged files.
This is not a joke!
fatal: cannot do a partial commit during a merge.
git commit -i
error: Pulling is not possible because you have unmerged files
community qXcF52,:Kg
list untracked files
git status
Cheat sheet
Create repository on server
mkdir -p git/myproject cd git/project git init --bare
browse local repository
git ls-tree --full-tree -r HEAD
push as different user
check .git/config and replace username