Skip to content

eagt/diary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 ”name of the new proyect”

Then I need to go to github.com → Select new repository

Give a name of the new proyect

Select create Reposiory

Copy & paste the bid where says:

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

&

git push –u origin mater

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

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

No packages published