Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Kuna Matata

james mpanga jimmyurl

💭
Kuna Matata
View GitHub Profile
View git-cheat-sheet.csv
command usage
git init Creates an empty Git repository in the specified directory.
git clone <repository name> Clones a repository located at <repository name> onto your local machine.
git add <directory> Stages only the specified changes for the next commit. Replace <directory> with a <file> to change a specific file.
git add . Stages new files and modifications without deletions
git add -A Stages all changes
git add -all Equivalent to git add -A
git add -u Stages modifications and deletions without adding new files
git add --update Equivalent to git add -u
git commit -m ”<message>” Commits the staged snapshot. replace <message> with the commit message.
@jimmyurl
jimmyurl / intro.md
Created Nov 14, 2018 — forked from derhuerst/intro.md
Installing Git on Linux, Mac OS X and Windows
View intro.md
View index.js
import React from 'react';
import { Button, View } from 'react-native';
const pressCount = 0;
export default class App extends React.Component {
constructor(props) {
super(props)
this.state = {
You can’t perform that action at this time.