Skip to content

KushH305/KushGitHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

GitHubWorkshop

Link to PowerPoint: https://docs.google.com/presentation/d/1ajd3AKqkpkIxO7ZtsZYl64VPQC1_qhtMrNi16xNQZXE/edit?usp=sharing

Workshop Steps:

  1. Use git clone to clone this repo into your local computer with the SSH code.
  2. Using your terminal CD into the folder where this repo is cloned.
  3. Make changes to this file (add your name and major)
  4. Check the changes you have made in your terminal using git status.
  5. Then add the changes in terminal using git add . (with the period)
  6. Use git commit -m "Message" to commit changes.
  7. Use git push origin master

Other Command Steps:

  1. Turn the current folder you are working into a repo with git init
  2. Git pull stufff from a changed repo.
  3. Using git pull you can pull certain files (index.html) but git fetch just pulls but not creates a new workspace.
  4. To push the changes you made using git fetch you must use git merge.

Git Stash/Branch Steps:

  1. Add some changes to new repo, use git stash, then you can go back to old changes
  2. To apply the changes use git stash apply and you can go back to your edit.
  3. Get stash list to see the list of changes you have made
  4. To make branches you must use git checkout -b to make a new branch.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors