Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git and KDevelop

Tags:

c++

git

kdevelop

I'm starting programming with KDevelop and Git.

I'm creating a project in C++ with KDevelop 4.4.1 and actually I've a Git account in Assembla.

I'm able to create an "internal git repository", doing commits with KDevelop.

I was researching about how I can PUSH my project into my account, but I didn't found enough information. How I can push my project to my repo in Assembla?

like image 210
Chu Avatar asked Feb 18 '13 20:02

Chu


People also ask

How good is KDevelop?

KDevelop is an open-source, free cross-platform IDE that supports various programming languages. It's an environment that allows programmers to work on their projects uninterrupted no matter how small or large they are. It features a smart code editor interface with built-in semantic code analysis.

What languages are supported by KDevelop?

KDevelop is programming language independent and build system-independent, supporting KDE, GNOME, and many other technologies such as Qt, GTK+, and wxWidgets. KDevelop has supported a variety of programming languages, including C, C++, Python, PHP, Java, Fortran, Ruby, Ada, Pascal, SQL, and Bash scripting.


1 Answers

Pushing generally is done like this:

Before the first push you should add a remote:

git remote add origin pathToRepositoryInAssembla

Now for the first push (I'm assuming your default branch is master)

git push -u origin master

This will push your changes and git will no assign the origin/master to your local master. After this by using

git push

It will automatically push all “assigned” branches that contain changes.

For more information on how to use git refer to the official handbook. For more information on remotes refer to Working with remotes.

like image 113
TimWolla Avatar answered Sep 18 '22 02:09

TimWolla