Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17905

confused with git.

$
0
0

Hi guys i am trying to setup my local git repo. I have two directories /repo, /workingproject.


In /repo I did git --bare init


then in /working I did

$ git init $ touch TESTING $ git add TESTING $ git commit -m "Adding TESTING file" $ git remote add origin git@localhost:/repo $ git push origin master 

At this point I would expect /repo to have TESTING, however all i get is the following:

# ls /tmp/repo/ branches config description HEAD hooks info objects refs # tree -l | grep TESTING # 
submitted by /u/juniorsysadmin1
[link] [comments]

Viewing all articles
Browse latest Browse all 17905

Trending Articles