Skip to content

Study materials and resources for Git + GitHub Workshop. If this repo has helped you in any way, give it a ⭐

License

Notifications You must be signed in to change notification settings

clubgamma/GitHub-Workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Git + GitHub Workshop Resources

Hello there 👋
These resources will help you get up and going with Git and GitHub.

Tutorial on how to create GitHub Account

Installation

If you are a Windows user. Please download the following application to use the terminal in windows.

Or enable Windows SubSystem for Linux and follow the instructions for Linux systems.

For installing git on Ubuntu

$ sudo apt install git

After finishing the installation, run the following commands to configure the global user info for git on your computer.

$ git config --global user.name "Your github username"
$ git config --global user.email "Your email"

Tutorial on how to install Git

Install a Favorite editor of your choice 💻

You can install any of your favorite editor to start working on projects. I strongly recommend using VSCode, since it got a lot of Git integrations and plugins to help.

Resources 📚

Get started by watching the interview with Linus Torwalds, The Mind Behind Linux.

Contributing to OpenSource 🔰

Extras for Linux fans 🤖

Commands used during workshop 💻 | 🖥️ ⌨️

# To watch the status of your local repo
git status


# To add files in stage area
git add <file-name>
git add .


#  To save the changes permanently in history (by creating versions)
git commit -m <message>
git commit -am <message>


# To watch your commit history
git log


# To push your commited changes (or versions) to github
git remote add origin <link-of-your-project>
git push origin master


# To download whole code present on GitHub
git clone <link-of-project>


# To pull only changed code from GitHub
git pull origin


# To see all branches present in your project
git branch


# To create a new branch
git branch <branch-name>


# To delete branch safely
git branch -d <branch-name>


# To delete branch forcefully
git branch -D <branch-name>


# To rename branch
git branch -m <new-name>


# To change from one branch to another
git checkout <branch-name>


# To see the previous versions
git checkout <commit-index>


# To create a new branch and move to it
git checkout -b <new-branch-name>


# To merge branches
git checkout <final-branch-name>
git merge <branch-to-merge>


# To cancel merge process
git merge --abort

Facing any issues?

Feel free to open an issue or contact the core team. We are glad to help you. ❤️

About

Study materials and resources for Git + GitHub Workshop. If this repo has helped you in any way, give it a ⭐

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published