My GitHub Stats
asteroids's Introduction
asteroids's People
Forkers
abbottjord94asteroids's Issues
connecting and updating your files with Git in linux (ubuntu)
- make sure you have git on your Linux machine
-you can do this by opening Terminal " ctl+alt+t " , then typing " sudo apt-get install git " , (you'll need internet connection) - Navigate to the folder/area you'd like to use for your project, then enter the following line to update that file from the master in your repository " git clone https://github.com/harkaranbrar/astroids.git "
Note: don't use the quotations.
go to https://www.youtube.com/watch?v=0fKg7e37bQE&nohtml5=False for a little tutorial
OTHER COMMENDS
" git " will display a list of commands
" status " shows you the difference between your file and that of the master
" add filename " adds the file to the project ... using " -A " adds all files
" commit " adds it to repository ... using " -m " will allow you to add a comment after
EXAMPLE: git commit -m "added stars.h"
" push " pushes any changes to the repository.
" pull " pulls any changes down from the repository
" branch branchname " creates a branch that you can work under (for safety reasons)
press " esc " then " :wq " to get out of commit message/comment or hit " i " (for input) then add your comment.
git commit: commit your changes on your own branch, totally unrelated to what's going on in remote repositories.
git fetch origin: get the contents of the remote repository (origin), but keep them under origin/branch branches. Your own code is unaffected at this point.
git merge origin/master: merge origin/master which is the master branch of the remote repository origin (which you fetched just now) with your current branch.
git push origin: push back the commit and the merge to the remote repository
more useful pages
https://www.youtube.com/watch?v=Y9XZQO1n_7c
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.