Skip to content

Mahoskian/Soham

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 

Repository files navigation

Soham

Collective Ideas of,

Soham Naik
Dr.George Alber Cook

Includes,

Programming
      Arduino
      Python
      Java
      HTML
      Scratch
      Command Line
      Apps(.apk)
      and more!
Minecraft
      Mods
            HammyCraft
      Server Tmplates
            Moded Servers
            Bukkit Servers
            Vanilla Servers

Initial Setup

  1. Set the directory you want to use using the commands cd and ls example:

         HC-Lab-5:~ hcstudent$ ls
         Applications	Documents	Library		Music		Public
         Desktop		Downloads	Movies		Pictures	Sites
         HC-Lab-5:~ hcstudent$ cd Desktop
         HC-Lab-5:Desktop hcstudent$ ls
         DigisparkArduino.app	Student Files
         GitHub			heli
         HC-Lab-5:Desktop hcstudent$ cd GitHub
         HC-Lab-5:GitHub hcstudent$ ls
         RocksAndRobots	RocksNRobots	Soham
         HC-Lab-5:GitHub hcstudent$ cd Soham
         HC-Lab-5:Soham hcstudent$ ls
         Programs	README.md 
    
  2. Create a copy of the repository on your computer using the command git clone and paste the url in example:

         git clone https://github.com/Mahoskian/Soham.git
    

There will now be a folder on your computer that is linked with the repository in the cloud.

Commands

cd                (Changes folders)
ls                (Lists folders in the folder you are currently in)
git status        (Checks status of your files compared to the cloud)
git add           (Adds new files to repository)
git commit -a -m  (Commits changes or additions to permanent record)  (-a selects all) (-m sets a message)
git push          (Updates cloud from your files)
git pull          (Updates your files from cloud)

Add New Files

1. Place the file in the folder that you wish to move to the cloud. You can check to see it is there by using the command git status it will be listed under untracked files

2. Use the command git add followed by the file name or the folder the file or files are in.
      example:
            git add "Folder Name or File Name"   (Dont type "")
3. To commit the changes you the command git commit followed by the file name. By also adding -m and a note in quotations a message will be added to the commit.
      example:
            git commit -a -m "Some random Comment"  (-a is optional it addes the comment after the -m in the "" to ALL files, after -m type a comment MUST put in "") 

4. Finally to upload your changes to the master repository (hosted on github) by using the command git push
      example:
            git push

Now if you check the GitHub your files should be added

More Help

This youtube video has a very good example of how to use all the basic commands:

https://www.youtube.com/watch?v=0fKg7e37bQE&list=WL&index=14

Importent Links

About

Colective Ideas from us...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Other 100.0%