The document discusses using Git and BitBucket for source code management. It introduces Git as a decentralized version control system and BitBucket as a web-based code hosting service. The document then provides an overview of common Git commands for initializing a repository, tracking and committing changes, and collaborating through branching and merging.
Software Versioning with Bitbucket and EclipseHüseyin Ergin
This is a presentation I have prepared for a software engineering class that I am a teaching assistant. It summarizes versioning with a repo on bitbucket using eclipse's own git client. Thanks to Conner Hansen for some slides.
Software Versioning with Bitbucket and EclipseHüseyin Ergin
This is a presentation I have prepared for a software engineering class that I am a teaching assistant. It summarizes versioning with a repo on bitbucket using eclipse's own git client. Thanks to Conner Hansen for some slides.
VCS: Version Control System
Git repository
Various Git Commands and their use
GitHub Local Repo and cloning a repo form remote server
use of git and its importance in todays IT Industry
● For most of the basic interactions with git you’ll mainly use 7 commands that we’ll cover here
git commands ● git init ● git clone ● git log ● git diff ● git status ● git add ● git commit
branching merging and git workflow
Excerpt from slides used in undergraduate software engineering lectures.
Our favorite git tricks, git commands and utilities that make working with git easier.
Updated June 2015.
One of the biggest advantages of Git is its branching capabilities. Unlike centralized version control systems, Git branches are cheap and easy to merge. This facilitates the feature branch workflow popular with many Git users.
GitHub is a web-based hosting service for version control using git. It is mostly used for computer code. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project
VCS: Version Control System
Git repository
Various Git Commands and their use
GitHub Local Repo and cloning a repo form remote server
use of git and its importance in todays IT Industry
● For most of the basic interactions with git you’ll mainly use 7 commands that we’ll cover here
git commands ● git init ● git clone ● git log ● git diff ● git status ● git add ● git commit
branching merging and git workflow
Excerpt from slides used in undergraduate software engineering lectures.
Our favorite git tricks, git commands and utilities that make working with git easier.
Updated June 2015.
One of the biggest advantages of Git is its branching capabilities. Unlike centralized version control systems, Git branches are cheap and easy to merge. This facilitates the feature branch workflow popular with many Git users.
GitHub is a web-based hosting service for version control using git. It is mostly used for computer code. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project
In one of our weekly training, we’ve talked about Git. Here is a quick overview of the main concepts, basic commands and branching strategy, how to work with Git, how to contribute to an OSS project, …
The Information Technology have led us into an era where the production, sharing and use of information are now part of everyday life and of which we are often unaware actors almost: it is now almost inevitable not leave a digital trail of many of the actions we do every day; for example, by digital content such as photos, videos, blog posts and everything that revolves around the social networks (Facebook and Twitter in particular). Added to this is that with the "internet of things", we see an increase in devices such as watches, bracelets, thermostats and many other items that are able to connect to the network and therefore generate large data streams. This explosion of data justifies the birth, in the world of the term Big Data: it indicates the data produced in large quantities, with remarkable speed and in different formats, which requires processing technologies and resources that go far beyond the conventional systems management and storage of data. It is immediately clear that, 1) models of data storage based on the relational model, and 2) processing systems based on stored procedures and computations on grids are not applicable in these contexts. As regards the point 1, the RDBMS, widely used for a great variety of applications, have some problems when the amount of data grows beyond certain limits. The scalability and cost of implementation are only a part of the disadvantages: very often, in fact, when there is opposite to the management of big data, also the variability, or the lack of a fixed structure, represents a significant problem. This has given a boost to the development of the NoSQL database. The website NoSQL Databases defines NoSQL databases such as "Next Generation Databases mostly addressing some of the points: being non-relational, distributed, open source and horizontally scalable." These databases are: distributed, open source, scalable horizontally, without a predetermined pattern (key-value, column-oriented, document-based and graph-based), easily replicable, devoid of the ACID and can handle large amounts of data. These databases are integrated or integrated with processing tools based on the MapReduce paradigm proposed by Google in 2009. MapReduce with the open source Hadoop framework represent the new model for distributed processing of large amounts of data that goes to supplant techniques based on stored procedures and computational grids (step 2). The relational model taught courses in basic database design, has many limitations compared to the demands posed by new applications based on Big Data and NoSQL databases that use to store data and MapReduce to process large amounts of data.
Course Website http://pbdmng.datatoknowledge.it/
Contact me to download the slides
A Beginner's Guide to Git and GitHub, CLI version.
What is Git?
What is Github
Basic commands
Difference between Central and Distributed Version Controlling System
Tutorial on Version control system using git and github.
To learn more and to download printable cheet sheets please visit my website www.techoalien.com.
Also like us on facebook https://www.facebook.com/techoalien
Tutorial on Version control system using git and github.
To learn more and to download printable cheet sheets please visit my website www.techoalien.com.
Also like us on facebook https://www.facebook.com/techoalien
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Water scarcity is the lack of fresh water resources to meet the standard water demand. There are two type of water scarcity. One is physical. The other is economic water scarcity.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
2. This workshop will include
Source Code Management Systems
Web-Based Code Hosting
Popular open source projects using SCM
Intro to Git
Let’s try Git Commands
Bitbucket as a web code server and management tool
7 January 2015
3. Source Code Management System
• It’s a way that we use to store projects’ source
code files in a tree of versions.
• With no deal, all those SCMs creators build them
on the same rules and structure.
• A lot of popular open source projects source
codes are collected together all over the world
using SCM systems.
7 January 2015
5. Web based Code Hosting
• We can use SCMS on our machine locally that
manage the code for you and create versions.
• but you can also host your code on web, this
solution make it very secure and no lose of
data under any circumstances.
7 January 2015
6. Web based Code Hosting Examples
A lot of Web-Based Code Servers provide Free and paid services Like:
7 January 2015
7. Popular projects that use web-based code Hosting
and Source Code Management Systems
Source1: https://git.wiki.kernel.org/index.php/GitProjects
Source2: https://github.com/popular/starred
7 January 2015
8. Popular projects that use web-based code Hosting
and Source Code Management Systems
Source1: https://git.wiki.kernel.org/index.php/GitProjects
Source2: https://github.com/popular/starred
7 January 2015
9. Popular projects that use web-based code Hosting
and Source Code Management Systems
Source1: https://git.wiki.kernel.org/index.php/GitProjects
Source2: https://github.com/popular/starred
7 January 2015
10. Popular projects that use web-based code Hosting
and Source Code Management Systems
Source1: https://git.wiki.kernel.org/index.php/GitProjects
Source2: https://github.com/popular/starred
7 January 2015
11. SCMS
• We approved before when we start that all SCMSs are built on
the same structure without any deal between them.
• Those all are called Source Code Management Systems
(SCMSs).
• Main task of any SCMS is to:
Track changes to files.
Repository / database of changes
Working directory / current state
7 January 2015
12. SCMS Operations
We can sort operations that we can do
with any SCMS into 4 main categories:
Bootstrap (init, checkout, switch branch)
Modify (add, delete, rename, commit)
Information (status, diff, log)
Reference (tag, branch)
7 January 2015
13. Types of SCMS
There are 2 types of SCM systems:
Centralized SCM
Distributed SCM
7 January 2015
15. Centralized SCM
o Examples: Subversion, CVS, etc.
o Everything goes to the server, commit changes to the
sever, checkout the latest revision from the server.
o No direct exchange between developers
o Operations require server, there are some drawbacks:
Single point of failure
Bottleneck
7 January 2015
17. Decentralized SCM
o Examples: Git, Mercurial, Bazaar, etc.
o Each copy of repository is identical and self-sufficient
o No need for a central server, but one may choose to have one
o Developers may directly exchange change sets over Wi-Fi at a
local coffee shop :D
o Workflow :
– Clone
– Pull / fetch
– push
7 January 2015
18. Ok, Let’s Start that workshop now
• Yes, it was just an intro to the Source Code
Management Mechanism and the Web-Based
Code Servers.
• Now to start talking in our session, I packed Git as
our SCM or VCS and BitBucket as a Web-based
Code Server and management tool will be
discussed later.
Are you Ready?
7 January 2015
19. What is Git ?
Decentralized or Destributed Source Code
Management(SCMS).
Superior branching and merging mechanism.
Support various protection devices against
corruption.
Supported by various code servers.
7 January 2015
20. Git History
• 2002
Linus uses BitKeeper to track Linux.
And BK gets Better, and Linux scale better.
• April 6, 2005
BitKeeper drops free license.
Linus write his own SCM, Git.
• April 18, 2005
Git can merge.
• June 16, 2006
Git is officially used to track Linux.
• Feb 14, 2007
Git 1.5.0 is released.
Major usability efforts.
7 January 2015
21. “ Nothing is perfect. Git is just *closer* to
perfect than any other SCM out there ”
- Linus
7 January 2015
22. Git First use
• If you are using Git for the first time, you will need to
download the server into your machine according to
your operation system.
• Just go to: http://git-scm.com/downloads and choose
the suitable download and install it.
7 January 2015
23. Git First use continue ..
• If you are using linux you will find a command that
will install Git from terminal.
• For example if you are using Ubuntu you will write
this command in you terminal:
7 January 2015
24. Git Command line
• Now you have installed Git on your machine and you
can go to terminal or CMD according to you OS and
write any command, for example:
$ git –-version
this command returned the version of Git you have
installed, you should find the result as follow:
7 January 2015
25. Git Commands
• Ok, there is a general structure of the git
command that all commands use as follow:
$ git <options> command <options>
• Git includes approximately 137 commands.
• Actually we don’t use all of them every day, so
I’ll review here the every day use commands
and let you check others.
7 January 2015
27. Git Help
• For any new command for you and need a brief
documentation for it use this:
$ git <command> -h
• When you need a complete help you should write
the following command and it will open a web
page locally with the full docs for this command:
$ git <command> --help
or
$ git help <command>
7 January 2015
28. Git Bootstrap
• Open the project work space (directory) and
run this command inside it:
$ git init
this will create .git directory
• This directory (.git) include all meta data
about versions and commits, working trees,
changes, all configurations, … .
7 January 2015
29. Git Staging
• Staging means specifying files that you will commit to
the server.
• Additions:
$ git add file #This add a specific file
$ git add . #This add all changed files
• Removal:
$ git rm file #This removes a specific file
• Renames:
$ git mv old new #This renames a specific file
7 January 2015
30. .gitignore file
• You can create a .gitignore file in your project directory
and add files or directories that you need not to add to
the server, examples for unwanted files:
Automatically generated code (e.g. R.java for Android)
Settings folder of editors that is created automatically.
If you are using any dependences on other libraries like in
PHP you can add them to composer.json and ignore them.
Or any other unwanted files.
• So when you use add all files, git will automatically
ignore the list of files you have written in this file.
7 January 2015
31. Git Commit
• Commit means to apply changes of staged files or all files to
the repository locally.
• Commit changes must provided by a message that you explain
in what is the changes in your commit from the last version:
$ git commit –m ”this is the message”
• The above command commit only the staged files but if you
want to commit all files you should use this:
$ git commit -a –m ”this is the message”
• This means that the commit command here in applied on
your machine only ??? …. The answer is yes
7 January 2015
33. Git information
• You can use status:
$ git status
to shows :
• Staged
• Unstaged
• Untracked
• You can use show:
$ git show
that shows the last commit information, changes,
author, and date. It has some more configurations
that customize the result.
7 January 2015
34. Git information
Git show additions:
Just shows stats
$ git show –-stat
Just shows name and status
$ git show -–name-status
7 January 2015
35. Git information
• To review the latest commits or even all commits on
some repository we use log command as follow:
$ git log
• But you can also limit it to review commits in a specific
period or in some branch or last 5 for example:
$ git log -5
or
$ git log -1 master@{yesterday}
or
$ git log --author=medhatdawoud
• There are lots of additions see in docs or help.
7 January 2015
37. References
• References are used to point to commits.
To get the local branches we use:
$ git branch –l
To get the remote branches we use:
$ git branch –r
And to get the local tags we use:
$ git tag -l
7 January 2015
38. References
• Creating new branch to HEAD:
$ git branch name
new branch “name” on HEAD
• Creating new branch to a commit:
$ git branch name commit
new branch “name” on that commit
7 January 2015
39. References
• Switching to branch:
$ git checkout name
• We have option of creating and switching in
the same command:
$ git checkout -b name
• If you are switching to a branch that has
changes, the switching might gives error, then
you should merge with switch:
$ git checkout -m name
7 January 2015
40. Merging
• If your HEAD is referring to a branch and want
to merge it to other branch, simply use the
following command, assume we have A, B
branches,
$ git checkout A
$ git merge B
Assume that we have A, B, C branches and want to merge
them all in one command.
$ git checkout A
$ git merge B C
7 January 2015
41. Cloning
• If you have a remote code server on some host
and want to get that repository on local, you
just want to write this:
$ git clone <remote>
• This will create a directory to the current root,
with the same name of the repository you are
cloning.
7 January 2015
43. What’s Next ?
• Git is already installed into some editors like
eclipse, aptana, … Search for your editor
installation.
• There is a good free book for git, I recommend
it for you to be more efficient in using Git as a
Source Code Management System, check it
from this link: http://progit.org
7 January 2015
44. An other Easy and Fast Solution
• I’ll tell you about another easy solution for
windows users, it’s a git client with great GUI that
makes every thing for you, it’s TortoiseGit
• Simply go to this link, download and install:
http://code.google.com/p/tortoisegit/wiki/Download
• Try it and I will write some more articles about
that later on my blog.
• There are 4 more clients check them on git site.
7 January 2015
45. BitBucket
• BitBucket is a web-based code server and also a
great management tool for software projects.
• On 29 September 2010, Bitbucket was acquired
by VC-funded Atlassian. Initially, Bitbucket only
offered hosting support for Mercurial projects.
On 3 October 2011, Bitbucket officially
announced support for Git hosting.
7 January 2015
46. Why Web-Based Code Hosting?
Not to be confused with a version control
system (or SCM system).
Not a necessity, but good to have for more
effective collaboration
7 January 2015
47. Why BitBucket?
• Bitbucket is completely free if you have a .edu
email address.
• Gives any one any number of repositories,
free for only 5 users, otherwise see the
payment on their site.
• Site: https://bitbucket.org
7 January 2015
49. Repository Page
o Notice these buttons in the right.
o Simple design that gives you only what you want
from a code hosting, no noisy design.
o Notice the menu ( overview, source, commits, pull
requests, issues, wiki, downloads)
This menu has the most important functionality that
bitbucket provide for us.
In the right of the menu is the settings of repository7 January 2015
50. Let’s get a tour in the site features
Try Demos with
Online Repositories
7 January 2015
51. End of the workshop
Thanks
Medhat Dawoud
www.medhatdawoud.com
/med7atdawoud
/med7atdawoud
7 January 2015