GithubHelp home page GithubHelp logo

mainakrepositor / git-steps Goto Github PK

View Code? Open in Web Editor NEW
109.0 2.0 5.0 128 KB

The series of steps you can use to commit a document in your GitHub from your local device, remotely.

git github github-config github-actions commit push code localstorage repository series

git-steps's Introduction

Git-steps

The series of steps you can use to commit a document in your GitHub from your local device, remotely.

--------------- STEPS TO MAKE A REMOTE GITHUB REPOSITORY-----------------


--------------- MADE BY MAINAK CHAUDHURI ---------------



  1. Create a git repository

  2. Press on "Download code" and copy the [email protected]:"Repository path in github"

  3. Make a folder in local device with same name as the github repo name

  4. Open GitBash inside the repository file in local system

  5. Type these commands :


i.   git config --global user.name "Your User Account name"
ii.  git config --global user.email your email             //(without inverted commas)
iii. git clone [email protected]:AccountName/Reponame
iv.  cd Repository/

You can move the files from the main file to the newly created blank file with the same name.

v.  git add .
vi. git status
vii.git commit -m "any comment" filename.extension
viii. git push -u origin [branch name as per your repository branch] <main/master>
  1. For modification :

i.  git status
ii. git commit -m "any comment" filename.extension
iii.git push -u origin master.
  1. Finally :

| | | CHECK YOUR GITHUB AND REFRESH THE PAGE | | | | |

THANK YOU ๐Ÿ™๐Ÿ™๐Ÿ™

Made by Mainak

git-steps's People

Contributors

mainakrepositor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

git-steps's Issues

git push -u origin master not working with HTTPS version. Password authentication replaced by token

Recently I found out about the above problem while I was going to push my code to the master branch. (It is applicable for all branches).
The solution is here:

The new GitHub rules require the user to generate a personal GitHub token.

i. To do that, go to the top right corner of the GitHub page where your icon is displayed.

ii. Click on Settings

iii. In the left channel that appears in the Settings page, navigate below to Developer Settings

iv. Click on the third option from the left pane that says, "Personal Access Token"

v. Click on Generate new token

vi. Click on the required checkboxes. If you are having any confusion to choose them, better select all of them.

vii. Provide a name to the token in the text box provided at the top of this section, which has Note written on top of it.

viii. Choose an expiry date from the dropdown (you may select never expire if you don't want to create a new token every time)

ix. Copy the token so generated and keep it safe. (Recommended to make multiple copies so that you don't lose it. If you still lose you will have to make a new token).

x. Now make a repo and follow all the previous steps till this step "git commit -m "Your comment" "

xi. After making the commit, just add these lines to the next line in your git bash:

git remote remove origin
git remote add origin https://[email protected]/USERNAME/REPONAME.git

finally, type git push -u origin to make the push successful.

Hope this will help! :)

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.