Skip to content

eagt/ts

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

Please feel free to use a different markup language if you do not plan to run rake doc:app.

////// —– ****** —— ///////

Working with Git & Github

Creating a new repository for a new project.

git init (enter)

git add . (enter)

git commit –m "Write a short explanatory of what the commit does"  (i.e: “changing application layout settings”

Then I need to go to github.com -> Sign in on my account -> Select new repository

Give a name of the new proyect -> Leave the radio buttons checked as they are

Click on Create Reposiory button

Copy & paste on the command line below the parragraph that says or push an existing repository from the command line

git remote add origin git hub.com/eagt/(new repository neme).git

Then, type

git push –u origin mater

You are done. Go back to your github account and click on the repository name and you should see all the files up there.

// —– ****** —— //

Pushing to the master repository

git add . (enter)

git commit –m ”project’s master name” (enter)

git push –u origin mater (enter)

// —– ****** —— //

Creating a new branch for the repository

git checkout –b nameofnewbranch

With this action, git creates a new branch and position itself in the new branch repository with all the information from the master repository.

// —– ****** —— //

To know at any time on which branch are you working and the branches that are in the repository

git branch

// —– ****** —— //

To only know in what branch I am

git status

// —– ****** —— //

To switch between branches to work on

git checkout branchname

// —– ****** —— //

To work on a branch and then push its updates to itself First I need to get the branch on which I would like to work

git checkout branchname

git add . (enter)

git commit –m ”branch name” (enter)

git push –u origin branchname or simply git push (enter)

// —– ****** —— //

To send an ready branch to the original master

git merge branchname (enter)

// —– ****** —— //

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages