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?
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With