I think every one of us has asked this same question at some point early in our 
work with git.

There have been many attempts to sweeten the syntax with sugar. But mostly we 
struggle through the abominable syntax and love git for it's great power and 
flexibility.

It will help you a lot with the syntax to really understand the architecture 
and the data model.


On Feb 2, 2013, at 9:42 PM, Tristan Stanic wrote:

> Hi,
> 
> I am learning Git at the moment. Very novice level. Just learn from this 
> thread: 
> http://stackoverflow.com/questions/4850717/how-to-cancel-a-local-git-commit
> That to cancel the last local commit, you must type: git reset --soft HEAD^. 
> I would think that s simple syntax like: git undo-commit would be more 
> straightforward. 
> 
> To stage a file, the cmd is git add myFile. To unstage: git reset HEAD 
> myFile. I would think "git stage myFile" and "git unstage myFile" would be 
> better suited.
> 
> What is the reason the git developers use obscure syntax? This make the git 
> learning curve uselessly complex.
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to