Coder Social home page Coder Social logo

vcu-hw's Introduction

hardware

Schematics and layout work

Tutorial: https://www.youtube.com/watch?v=1xfp2Cx9FUk

Getting started with git

the main workflow is usually like this:

  1. install git on your machine https://git-scm.com/download/
  2. use the git bash terminal window to work with the repositories:
  3. clone the repository of choice: in your terminal window, navigate to the folder you want to store the repository in, and send the command git clone https://github.com/sfuphantom/hardware.git for the hardware repository for example
  4. the hardware repo has folders that contain a submodule - which is essentially just a version of a different repo, nested inside the hardware folder. this nested repo is the altium-libraries repository! to enable it, use git submodule init while in the hardware directory, and then git submodule update
  5. now if you navigate to that folder in your normal file browser, you should see the repository folder with all the files in it
  6. you can now edit the files and add new files into the repository folder like normal, as you would any folder system
  7. to register new added files you have placed in the repository folder in your file browser, use the command git add -A in your terminal window while in the directory of your repository (cd /documents/phantom will change your active directory to /documents/phantom, and cd .. will change your active directory up one level)
  8. git add -A will add all new files repo folder to be tracked by git
  9. to save the changes you have made and the files you have added, use the command git commit -m "fill in your update here" to commit your changes and save them with a useful message
  10. when you are ready to update the centralized repository on github with your changed localized cloned repository, use the command git push and you should see your changes show up on github

http://rogerdudler.github.io/git-guide/

https://learngitbranching.js.org/

http://www.ndpsoftware.com/git-cheatsheet.html#loc=workspace

Branching

If you wish to work on a version of the repo without affecting or potentially causing conflicts, use branches. They are very useful for developing a new feature of a program/board without affecting the master branch. They can later be merged into the master branch by using a pull request.

  1. Navigate to your hardware directory in the git bash terminal window.
  2. Use the following command git branch MyBranchName to create a new branch
  3. Use the following command git checkout MyBranchName to switch your active branch to MyBranchName instead of Master
  4. If you want to perform both commands in one line, here's a shortcut: git checkout -b MyBranchName
  5. Now you can develop and make changes as you wish on MyBranchName, adding files, making commits, and pushing up to the repository held in Github.
  6. When you have decided you are ready to combine your changes/additions to the master branch of the repository, use Github's web interface (https://github.com/sfuphantom/hardware) to create a new pull request.
  7. A pull request will alert other people that you are ready to combine your branch (MyBranchName) with the Master branch, and will allow them to review your work and approve it for merging.

vcu-hw's People

Contributors

gabesoares avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.