GithubHelp home page GithubHelp logo

denisecase / git-started-windows Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 62.0 25 KB

Get your Windows computer ready for collaboration with Git

Home Page: https://denisecase.github.io/git-started-windows/

License: MIT License

git-started-windows's Introduction

Git Started on Windows

Get your computer ready for collaboration with Git

Prerequisites

Git

Git is a distributed version control system that allows developers to work together on common projects and collaborate effectively with people around the world.

Repositories

A repository is a place to store content. This project is kept in a public repository at https://github.com/denisecase/git-started-windows.

Repositories may also be private - visible only to yourself or to a team.

Cloud Storage Providers

There are many places to store your content while you collaborate. You may be asked to set up free accounts with popular providers:

Both are widely used and it can be helpful to have accounts in both places. As you create new repositories for yourself or a team, you can decide which one is a better choice for each project.

If you're a student, check both sites for the most recent education options.

Prerequisites

  • You'll need Git. Download and install as directed.
  • Windows Users: You'll want TortoiseGit. TortoiseGit integrates with Windows File Explorer, making it fast and easy to execute most of the typical Git commands used every day. TortoiseGit is optional, but recommended for Windows users.

Set up Git

It is critical that you follow all setup instructions when you first install Git. You must configure Git with your full name and email address.

Set up Git for every repository on your computer by following the simple instructions at:

Transferring Files

There are two methods for transferring files from our computer to the cloud: HTTP and SSH. They offer two different ways of providing authentication and authorization.

  • HTTP - to exchange files, we enter an email and password with each transfer. This is easiest.
  • SSH - (optional) - we set up a public/private key pair between our computer and cloud account once at the begining and do not need to type a password with each transfer.

Optional: Install Putty for SSH

To enable the SSH option, we need to be able to generate a pair of keys. One public key that is kept in our account in the cloud and a private key that is kept on our machine.

Install PuTTY from https://www.ssh.com/ssh/putty/download.

PuTTY includes PuTTYgen, a utility program that helps create SSH key pairs.

SSH Public-Private Key Pairs

When I work, I use:

  • Different emails
  • Different computers
  • Different cloud storage providers

I create a public-private key pair for every email-computer-cloud combination. For each combination, I'll create a .ppk (private key) and a .pub (public key) pair. The .pub keys are optional - if you use PuTTYgen to open your .ppk, it will show you the public key. You'll copy and paste the public key into your cloud account / settings / ssh keys.

For example, with a desktop and a laptop, I might have keys named:

denisecase-pc1-bitbucket.ppk
denisecase-pc1-bitbucket.pub
denisecase-lappie1-bitbucket.ppk
denisecase-lappie1-bitbucket.pub
denisecase-pc1-github.ppk
denisecase-pc1-github.pub
denisecase-lappie1-github.ppk
denisecase-lappie1-github.pub
dcase-lappie2-github.ppk
dcase-lappie2-github.pub

This naming convention keeps keys organized.

Create SSH Key Pairs & Add Public Keys To Cloud Accounts

Use Windows start to run PuTTYgen. Follow the instructions from the link below to create private keys that will be stored in your .ssh folder and corresponding public keys to be added to your BitBucket or GitHub accounts.

Make sure your computer is set up for developers and that you can see hidden files [1].


Terms

  • Cloud storage provider
  • BitBucket
  • GitHub
  • Git
  • TortoiseGit
  • Repository/repo
  • HTTP
  • SSH
  • SSH key pairs
  • Private key
  • Public key
  • PuTTyGen - a graphical tool to create SSH keys

Trouble Shooting Tips

Next Steps

Optional for advanced users: Upgrade your Windows software automagically.

See Also

git-started-windows's People

Contributors

denisecase avatar profcase avatar

Watchers

 avatar  avatar  avatar  avatar

git-started-windows's Issues

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.