Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm a little confused about what you're trying to do.</p> <p>First of all, if your code is on your laptop, then why are you creating a repository on your USB drive? With git, unlike CVS or SVN, the repository always exists in your project's root directory.</p> <p>Here's what I think you want: Create a new git repository on your laptop hard drive at the root of your C project. Then check the files in to the repository and commit. Now you want to create a branch so you can add color to all the dialog boxes (for example), so you create a new local branch called "color-dialogs". You're not tagging and you're not tracking. Tagging is what you do when you release version 1.0: you mark a particular revision as "1.0" so you can go back to it. Then later you make a "1.1" or "2.0" tag. Tracking is what you do when you want your branch to be the same as someone else's. For example, I want my project to have all the latest color dialog boxes so I track your branch named "color-dialogs" but I don't call it that, I just call my branch "master" because I don't care about the old black and white dialogs. Whenever I do a pull from your repository, since I'm tracking your "color-dialogs" branch, I'll pull in all the updates you've made to that branch.</p> <p>Fast-forwarding is when you pull updates to a branch that you haven't made changes to.</p> <p>So a summary: create the repository on your laptop HD in your project folder. Create local branches if you want in there, and you can switch back and forth between branches at the touch of a button (using git checkout). If you want a repository on a different drive, what you do is you clone the repository from your internal HD to your USB stick. Then you can pull changes from one repository to the other (each is a complete standalone repository).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload