Skip to content

FlowkoHinti/Dionysos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dionysos

Project for Software-Development 2nd semester.

Goal

Development of a RGB Display-Matrix Solution with an Arduino and Raspberry PI

GIT Commands

  1. git config

Utility : To set your user name and email in the main configuration file. How to : To check your name and email type in git config  -- global user.name and git config  -- global user.email. And to set your new email or name git config  -- global user.name = “Dhruv Nenwani” and git config  -- global user.email = “nendhruv@gmail.com

  1. git init

Utility : To initialise a git repository for a new or existing project. How to : git init in the root of your project directory.

  1. git clone

Utility : To copy a git repository from remote source, also sets the remote to original source so that you can pull again. How to : git clone <:clone git url:>

  1. git status

Utility : To check the status of files you’ve changed in your working directory, i.e, what all has changed since your last commit. How to : git status in your working directory. lists out all the files that have been changed.

  1. git add

Utility : adds changes to stage/index in your working directory. How to : git add .

  1. git commit

Utility : commits your changes and sets it to new commit object for your remote. How to : git commit -m”sweet little commit message”

  1. git push/git pull

Utility : Push or Pull your changes to remote. If you have added and committed your changes and you want to push them. Or if your remote has updated and you want those latest changes. How to : git pull <:remote:> <:branch:> and git push <:remote:> <:branch:>

  1. git branch

Utility : Lists out all the branches. How to : git branch or git branch -a to list all the remote branches as well.

  1. git checkout

Utility : Switch to different branches How to : git checkout <:branch:> or **_git checkout -b <:branch:> if you want to create and switch to a new branch.

  1. git stash

Utility : Save changes that you don’t want to commit immediately. How to : git stash in your working directory. git stash apply if you want to bring your saved changes back.

  1. git merge

Utility : Merge two branches you were working on. How to : Switch to branch you want to merge everything in. git merge <:branch_you_want_to_merge:>

  1. git reset

Utility : You know when you commit changes that are not complete, this sets your index to the latest commit that you want to work on with. How to : git reset <:mode:> <:COMMIT:>

  1. git remote

Utility : To check what remote/source you have or add a new remote. How to : git remote to check and list. And git remote add <:remote_url:>

About

Project for Software-Development 2nd semester

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published