GithubHelp home page GithubHelp logo

git-install's Introduction

Basic Git Installation

  1. Install Git in Windows, go to Source Control of VSCode and click Download Git for Windows

  2. or go to this https://git-scm.com/download/win

  3. select Windows either 32/64 bit depending on your System

  4. follow the steps, mostly click Next by default except VSCode as the editor instead of Vim

  5. Go back to VSCode Source Control Tab or Reload it, you can start clean by opening a new VSCode Window

  6. Open Terminal, New Terminal

  7. at the Terminal on the bottom right of your screen, select type of terminal, click Git Bash

image

  1. on your terminal cd Desktop or any other location you want/required by the project like htdocs, then clone a existing repo on GitHub git clone "the remote repo

  2. open a New Folder on VSCode and select the one you just cloned

  3. start editing, git add ., git commit -m "message", git push

  4. the first time you push, it will fail the authentication, go to VSCode Settings search for git.terminalAuthentication and uncheck the option

  5. git push again, there will be a pop-up to authorize authenticating Git via your browser, make sure the active browser is logged in to GitHub

GitHub Desktop

Once you learned Git basics, it's better to use GitHub Desktop, it's a Git UI version, because you can see exactly the files that have changed and those you will be committing and in actual development, mostly you will be using branches to control the changes like you can sumbit a PR first

you may want to take a look at this

https://github.com/jdevstatic/my-github-desktop-commit-workflow

or simply use the basic Source Control of VSCode

git-install's People

Contributors

jdevfullstack avatar

Watchers

 avatar

Forkers

brunohdmacedo

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.