Code Monkey home page Code Monkey logo

ov's Introduction

OV Reporsitory

Our "Introduction to Compilers(OV)" Group Project.

How To Use Git with GitHub

Install Git Package on Debian
  • sudo apt-get install git-core
Add a SSH Key

Run the following commands to add a SSH Key to your SSH-agent so you can use git without logging in again and again.

  • ls -al ~/.ssh // Gives you a list of the SSH key folder
  • ssh-keygen -t rsa -b 4096 -C "[email protected]" // Generates a new SSH-key both private and public
  • ssh-add ~/.ssh/fileNameYouJustCreated // Give this the file you just created, which is NOT ".pub"
  • Now go to github and add a SSH Key, you must paste the contents from fileNameYouJustCreated.pub into github Source: https://help.github.com/articles/generating-ssh-keys/
Download repository from github
Add changes to repository
  • git add . // Adds everything to next push
  • git status // shows changes you are about to commit
  • git commit -m "Some Comment" // Prepare for push
  • git push // You are sending all chosen changes to your repository
If you are ahead in branches user "push origin master
  • git push origin master
Remove files from repository
  • git rm filemane // Removes file from repo on next push
  • git status // Shows changes you are about to commit
  • git commit -m "Some Comment" // Prepare for push
  • git push // you are sending all chosen changes to your repository
Download changes
  • git pull
If greater changes has been made such as folder changes
  • git add . --all // Removes everything from repository and replaces it with your folder
  • git status // Shows changes you are about to commit
  • git commit -m "Some Comment" // Prepare for push
  • git push // You are sending all chosen changes to your repository
Branching
Create and start working on new branch
  • git checkout -b branchname
Deletion of Branch
  • git branch -d branchname
Merge branch into master branch
  • git checkout master
  • git merge branchname

ov's People

Contributors

ptxdk avatar victorvh avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.