INITIAL BEANSTALK GIT COMMIT TO MASTER BRANCH

Getting Started with Git & Creating your Repository

After you have installed Git, you need to setup the repository in your account and generate an SSH key.
yum install git-core (this is for centos)
apt-get install git-core (this is for ubuntu )

Once installed, we recommend initializing Git. run the following commands.
git config --global user.name "kirthan"
git config --global user.email "kirthan@example.com"

Use your full name and email address, and by this you will setup Git for your purposes. You need to do this only once, the first time you install Git.

Start using Git

There are many different ways to use your Git repository. Since Git is very flexible you can start using your repository easily by importing, cloning, and many other ways.
We will show you couple of common ways to start using your Git repository.

Starting from scratch

To start using your repository from scratch, in your command line type the following:
mkdir my-project
cd my-project
git init
echo "This is my new project on Beanstalk." > README
git add README
git commit -m "My first commit."
git remote add beanstalk https://example.git.beanstalkapp.com/my-project.git
git push beanstalk master

With the commands above, you will create a folder, add a file to it, make your first commit, and push the changes to your repository, to master branch. Master branch is the default branch to use for your files.

Import existing files on your computer

To import your existing files from your local machine type the following in your command line:
cd my-project
git init
git remote add beanstalk https://example.git.beanstalkapp.com/my-project.git

git add .
git commit -m "Importing my project to Git, without saving history."
git push beanstalk master

Start and Stop ssh-agent

Below is the bash script used to start and stop ss-agent #!/bin/bash ## in .bash_profile SSHAGENT=`which ssh-agent` SSHAGENTARGS="...