Tag Archives: git

Git amend ? Rename previous commit ?

Hey, I use git for two years. I have’nt used git amend till yesterday. Where u will use this, Case 1: git commit -am “old commit” F***, I forgot to add the files with commit ( untracked files ) then … Continue reading

| Tagged , , , , , , , , | Leave a comment

Create a Remote Git repository

At your server: Commands: ssh test@server.com// user: test server: yourserver.com or ip address mkdir gitrepo.git// Project name: gitrepo.git git init –bare git update-server-info Change git working tree ( where real project will be stores when you push from local ) … Continue reading

| Tagged , , , , , | Leave a comment