linux:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
linux:git [2019/10/05 19:33] – [Atom, Git and Rust] mhlinux:git [2019/10/16 20:58] – [Atom, Git and Rust] mh
Line 33: Line 33:
 git init //Skip if in a Rust project created with cargo, git is already initialized git init //Skip if in a Rust project created with cargo, git is already initialized
 git remote add origin <remote_repo_url> git remote add origin <remote_repo_url>
-git add . //Not sure it'required, since the folder is already populated.+git add . //required
 git commit -m "Initial commit" //Feel free to change the message git commit -m "Initial commit" //Feel free to change the message
 git push -u origin master //This is what actually pushes. git push -u origin master //This is what actually pushes.
  • linux/git.txt
  • Last modified: 2020/06/01 16:35
  • by 127.0.0.1