GithubHelp home page GithubHelp logo

my_pictures's Introduction

Description

My personal blog need show some pictures, I try to store the pictures in this repository.

Useful command for me to use

1. Create New Folder Locally

If we create new local folder and want to upload it into remote repository. We should cd into the local folder and type

git init

This will let the local folder prepared to be a github folder. Then connect this folder to the remote folder

git remote add origin <https://gitxxxx.com/xxxxx/xxxxx.git>

The content in the "<>" should be replaced with your own git account link. Then add all files

git add .

add description

git commit -m "<some description here>"

Be careful that that "<>" double quotation marks are needed. Then type

git push -u origin master

When prompted to update the remote repository locally, proceed with the following command

git pull   

Prompt "git pull remote" and so on, continue with the following command

git pull origin master

If history related errors are prompted, continue with the following command

 git pull origin master --allow-unrelated-histories

Then you can push the local folder by typing

git push origin master 

2. Update Changes

If the repository has been create in the remote and the local folder has push history. You can fetch changes from remote repository.

git pull

add new files to remote repository

git add .
git commmit -m "changes"
git push origin master

This is a simple version of the command.

my_pictures's People

Contributors

knifelees3 avatar

Watchers

James Cloos 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.